package com.huaboot.generator.mapper;


import com.huaboot.generator.entity.TableEntity;
import com.huaboot.generator.entity.TableFieldEntity;
import com.huaboot.generator.query.GeneratorQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * description:
 * date: 2023/8/11 16:57
 * author: ff
 */
@Mapper
public interface GeneratorMapper{

    List<TableEntity> getAllTableList();

    TableEntity getTableByTableName(@Param("generatorQuery") GeneratorQuery generatorQuery);

    List<TableFieldEntity> getTableFieldByTableName(@Param("name") String name);

}
